package com.lg.atp.service;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.lg.atp.entity.TblPara;
import com.lg.atp.entity.TblParaData;

public interface IParaService {

	//选择变量
	public List<TblPara> getSelPara(Map<String,Object> map);
	//存入变量
	public List<TblPara> getCrPara(Map<String,Object> map);
	
	public boolean hasExistsPara(TblPara para);
	
	public Long savePara(TblPara para);
	
	public Long saveParaData(TblPara para);
	
	public List<TblPara> selectParaByDatasetId(TblPara para);
	
	public JSONObject selectParaName();
	
    public void setParaDatasetNull(Long datasetId);

	public void updateParaDatasetDisable(Long datasetId);
	
	public Long hasParaInDataset(String paraName,Long datasetId);
	
	public void changeParaData(Map<String,Object> map);
	
	public List<TblParaData> selectParaDataByParaId(Long paraId);
}
